/* @media screen and (min-width:0\0) */

@charset'utf-8';
@import'../../open_scss/theme';
@import'../../open_scss/color';
@import'../../open_scss/model';
._pay {
    width: 96%;
    padding: 1.5rem 2%;
    overflow: hidden;
    @include breakLine;
    .order {
        width: 100%;
        margin-right: 10%;
        margin-left: 0;
        display: inline-block;
        vertical-align: top;
        @include comic(0.3);
        &.focus {
            margin-left: -110%;
        }
        .item {
            .ititle {
                color: $black;
                font-size: 17px;
            }
            .iinfo {
                .pay-type-wrap {
                    overflow: hidden;
                    position: relative;
                    width: 100%;
                    height: 32px;
                    margin: 0.5rem 0;
                    display: block;
                    border: 0;
                    background-color: rgba(0, 0, 0, 0);
                    padding: .3rem 0;
                    text-align: left;
                    line-height: 32px;
                    &.checked {
                        color: $fontColor;
                        background-color: $themeColor;
                        span {
                            right: -30%;
                        }
                    }
                }
                button {
                    border: 1px solid #ccc;
                    background-color: #efefef;
                    font-size: 15px;
                    padding: .3rem .8rem;
                    border-radius: 2px;
                }
                p {
                    font-size: 16px;
                }
                .pay-type {
                    width: 100%;
                    height: 100%;
                    display: block;
                    position: absolute;
                    top: 0;
                    // background-color: rgba($silver,0.3);
                    background-color: rgba($white, 0);
                    @include comic(0.2);
                    padding: 0 2%;
                    @include breakLine();
                    span {
                        display: inline-block;
                        width: 100%;
                        position: absolute;
                        right: -150%;
                        @include comic(0.3);
                    }
                }
                .radio {
                    display: block;
                    position: absolute;
                    background-color: $white;
                    width: 100%;
                    height: 22px;
                    top: 0;
                    z-index: 3;
                }
                .radio:checked + .pay-type {
                    background-color: rgba($silver, 0.3);
                    span {
                        right: -30%;
                    }
                }
            }
        }
    }
    .L-input {
        margin-bottom: 40px;
        inputPlaceholder {
            top: -2px;
            font-size: 15px;
        }
        input:focus, input.focus {
            outline: none;
            box-shadow: none;
            + inputPlaceholder {
                color: $black;
                font-size: 18px !important;
                font-weight: 300;
                top: -22px;
                -webkit-transition: all 450ms cubic-bezier(0.23, 1, 0.32, 1) 0ms;
                -moz-transition: all 450ms cubic-bezier(0.23, 1, 0.32, 1) 0ms;
                -o-transition: all 450ms cubic-bezier(0.23, 1, 0.32, 1) 0ms;
                transition: all 450ms cubic-bezier(0.23, 1, 0.32, 1) 0ms;
            }
        }
        input:not(:focus):valid + inputPlaceholder {
            color: #808080;
            font-size: 15px !important;
            font-weight: 300;
            top: -22px;
            transition: all 450ms cubic-bezier(0.23, 1, 0.32, 1) 0ms;
        }
        input {
            font-size: 15px;
        }
    }
    .address {
        width: 100%;
        display: inline-block;
        vertical-align: top;
        button {
            font-size: 15px;
        }
        .addr {
            padding: 0.5rem 0.3rem;
            margin: 1rem 0;
            background-color: rgba($themeColor, 0.6);
            line-height: 22px;
            font-size: 15px;
            border-radius: 2px;
            // box-shadow: 0 1px 6px 0 rgba($gray, 0.5);
            @include newLine;
            color: $fontColor;
            &.focus {
                background-color: rgba($btnHover, 0.6);
            }
        }
        .add_info {
            height: 0;
            margin-top: 1rem;
            background-color: rgba($white, 0.6);
            width: 94%;
            padding: 0 3%;
            overflow: hidden;
            @include comic(0.2);
            &.focus {
                padding: 1rem 3%;
                height: 274px;
            }
            select {
                font-size: 15px;
                margin: 0 1rem 1rem 0;
            }
        }
    }
}
.topay {
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 1100;
    width: 100%;
    padding: 1rem 0;
    font-size: 15px;
    background-color: $white;
    min-height: 2rem;
    box-shadow: 0 0 10px 0 rgba($gray, 0.7);
    text-align: center;
    div {
    }
    .cover {
        position: fixed;
        width: 100%;
        height: 0;
        background-color: rgba($red, 0);
        top: 50%;
        left: 0;
        z-index: 995;
        overflow: hidden;
        @include comic(0.15);
        &.focus {
            background-color: rgba(157, 157, 157, 0.9);
            height: 100%;
            top: 0;
        }
    }
    button {
        border: 0;
        font-size: 15px;
        padding: 0.3rem 0.3rem;
        outline: none;
        background-color: #efefef;
        border: 1px solid #ccc;
        margin: 0.3rem;
    }
    .alipayform {
        z-index: 996;
        position: fixed;
        top: 30%;
        left: 0;
        width: 0;
        height: 0;
        overflow: hidden;
        text-align: center;
        @include comic(0.15);
        &.focus {
            width: 100%;
            height: 180px;
        }
        .formtitle {
            width: 100%;
            color: $white;
            font-size: 18px;
            font-weight: bold;
            margin-bottom: 2rem;
        }
        .formitem {
            color: $white;
            width: 100%;
            font-size: 17px;
            padding: 1rem 0;
            form {
                display: inline-block;
            }
            input[type='submit'], .cancel {
                border: 0;
                padding: 0.3rem 0.6rem;
                border: 1px solid #ccc;
                border-radius: 2px;
                background-color: #efefef;
                display: inline-block;
                margin: 0 1.5rem;
                font-size: 15px;
            }
        }
    }
}
